package com.carlinfo.userscenter.users.pojo;

import java.util.Date;

/**
 * 角色菜单表的POJO
 * 
 * @author wangshMac
 */
public class ARoleMenu
{
	private int id;
	private int roleId;
	private int menuId;
	private byte status;
	private Date createTime;
	private Date updateTime;
	private Date pubTime;
	
	/* 字符串描述:
	 * 枚举
	 *  */
	private String statusStr; 
	
	/* 关联关系 */
	private AMenu menu ; 
	private ARole role ; 

	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public int getRoleId()
	{
		return roleId;
	}

	public void setRoleId(int roleId)
	{
		this.roleId = roleId;
	}

	public int getMenuId()
	{
		return menuId;
	}

	public void setMenuId(int menuId)
	{
		this.menuId = menuId;
	}

	public byte getStatus()
	{
		return status;
	}

	public void setStatus(byte status)
	{
		this.status = status;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public Date getUpdateTime()
	{
		return updateTime;
	}

	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}

	public Date getPubTime()
	{
		return pubTime;
	}

	public void setPubTime(Date pubTime)
	{
		this.pubTime = pubTime;
	}

	public String getStatusStr()
	{
		return statusStr;
	}

	public AMenu getMenu()
	{
		return menu;
	}

	public void setMenu(AMenu menu)
	{
		this.menu = menu;
	}

	public ARole getRole()
	{
		return role;
	}

	public void setRole(ARole role)
	{
		this.role = role;
	}

	@Override
	public String toString()
	{
		return "ARoleMenu [id=" + id + ", roleId=" + roleId + ", menuId=" + menuId + ", status=" + status
				+ ", createTime=" + createTime + ", updateTime=" + updateTime + ", pubTime=" + pubTime + ", statusStr="
				+ statusStr + ", menu=" + menu + ", role=" + role + "]";
	}

}
